import { createPinia } from 'pinia'
import { createStore } from 'vuex';

interface State {
  count: number;
}

const store = createStore<State>({
  state: {
    count: 0
  },
  mutations: {

  },
  actions: {

  }
});

export default store;

import type { App } from 'vue'

export const pinia = createPinia()

export async function setupStore(app: App) {
  app.use(pinia)
}

export * from './modules'
